import type { RouteRecordRaw } from 'vue-router'

const error: RouteRecordRaw[] = [
  {
    path: '/404',
    name: 'NotFound',
    component: () => import('@/views/modules/error-page'),
    meta: {
      hideFooter: true,
      authIgnore: true
    }
  },
  {
    redirect: '/404',
    path: '/:pathMatch(.*)*',
    meta: {
      hideFooter: true,
      authIgnore: true
    }
  }
]

export default error
